//
//  WCNewProjectCreateButtonEnabledTransformer.m
//  WabbitCode
//
//  Created by William Towe on 3/25/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import "WCNewProjectCreateButtonEnabledTransformer.h"
#import "WCMacros.h"


@implementation WCNewProjectCreateButtonEnabledTransformer
+ (Class)transformedValueClass { return [NSNumber class]; }
+ (BOOL)allowsReverseTransformation { return NO; }
- (id)transformedValue:(id)value {
	if (!value || ![value count])
		return NSNumberFalse;
	return NSNumberTrue;
}
@end
